package cn.lumin.mock.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "lumin.mock")
public class LuminConfiguration {

    private String orgCode;
    
    private List<TradingUnit> tradingUnits;
    
    @Data
    public static class TradingUnit {
        private String id;
        private String name;
    }
}
